<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/vue/2.5.17-beta.0/vue.min.js"></script>
    <style>
        p {
            border: 1px solid red;
        }

        b{
            border: 1px solid green;
        }
    </style>
</head>
<body>
    <div id="app">
        <p @mousemove="mm">
            这是一个<b @mousemove.stop>段落</b>!!!!
        </p>
    </div>
</body>

<script type="text/javascript">
    new Vue({
        el:"#app",
        data:{
            flag:true
        },
        methods:{
            mm(event){
                // console.log("x:"+event.x+"y:"+event.y)
                console.log("x:"+event.offsetX+"y:"+event.offsetY)
            }

        }
    })
</script>
</html>